adding in the proper mortgage formula