Added double negation and fixed var name.