condenced dictionary and added more regex to make sure words are being checked correctly