add non-constant interest complication to two-period example