renderer moved to top level