debug messages for recording