unnecessary comparison ==true