add condition for dealing with words ending in y