partial incorporation of LevelSwitcher module