made some progress with the renderer and layout