add indicator of message length and capacity