trying to make scenemanager more efficient