need to diagnose messaging, logging all messages