Finished setting up the if statements