Added existing Debtr code