implemented repeatsum, inverse, and part of +