please add parenthesis around the == and !=