added calcing of payments