added summation
trial
trial
added total
documentation