more work on sending messages