changed  == to nots