improved levelmanager