better message formatting