basically organized the code, made it more readable lol