refaactor for scene managers