debugging incoming messages