BZ added map method to dupe removal