retrun typ of Method amountFor() changed to double