Refactoring code to not be redundant. Still am figureing out if I can run an init funciton to make it look nicer because it would get really ugly if we did this the whole time. But we will see.