added getSurplusAmountPerPay in core