SM_record marshal, main loop