completed step 2, if statements