computing total
