checking for rare words