can you please tell me how it is not working? Show me the code? 'It didn't work" is probably one of the most vague things to say. Also According to the example you provided that should work. Are you talking about not repeating words? You can put all your items into a list because lists won't contain multiples it will remove all the duplicates.