added total sum into resource column