got rid of duplicate data