return only the render method