Pulled a lot of logic into their own functions to make the program look cleaner