finish 6.2.5 uniqueness_validation