add a treemap array method to total payment