Render function complete