If @level is missing leve=-1 - shouldn't that be checked here?