add in better calculation of recurring payments