cleaned up the output page