updated "uniqueness" check