add get debt balance functionality.