Used refactoring catalog item: Extract Method

extracted method from <statement>-method and renamed variables in new <amountFor>-method