Second version of MoneyCalculator