implementing layers in the renderer.