eqality check is different than assignment