added Renderer class