moved output into html body