record and submit