check for duplicates in residents too