Changed pay function to use the db debt