fixed endsWith to include other letters