some of calculator.rb done