Tidy up the output