added conditional statement but i got the wrong message