got rid of duplicates