register the renderer