simplified message packing