a nicer way to read a packed message