got rid of doubles