use the render-fn when given !