using 'is' rather than '==' is wrong