Refactoring 2: Rename local variables in method amount_for