Rendering almost complete, just need to get the outputs working