replaced == with 'is' keyword