created if and else statement

checking to see if they work