accidentally had '=' instead of '=='