Mistakenly used 'is' instead of '=='