simple summation
intro to class