started borrowings functionality