Working modified TipCalculator