removed `not` and used `!`

removed low precedence operator.