record coding