gets root to render