more integration of new rendering loop