Calc.rb altered