updated to keep all words