removed Matches keyword, instead using 'is' operator