extracted the render and create calls