manufacturing prob "leastof" method fixed.