logical equality is not assignment