reformat query overview