renamed new_record_id > generate_id