Spliting up rendering and outputing