replace equals by equality operator