added bezier method to Renderer