Added a render method