adding validate-records