Pdf now calculates the #months and adds up the prices accordingly