trying to remove duplicates