inputted some if statements