commented the render helper