just kinda fixed some general stuff that felt kinda off, code ended up a little bit janky, and maybe i'll do some optmizations in the future