commit 3 by Alexey
added field sum to PriorRepayment