output the formatted results all the way