formats output for clearer message