Update removeDups

Fixed the code to "look" better.