more work on the messaging example