Officially detects multiple degrees, removed unnecessary code