if and else statements entered