add create debt functionality.