worked on testing, load from text and removeDuplicates broken