changed != to !== so that 0 != False will evaluate to False