more work on the renderer