reworked messages to use new binary buffer