Added else statement
Tested conditional statement