add method to get the Renderer