output result to page