output results at top of code