make sure the are no duplicates