removing the possibility of duplicates