record to struct