sum -> add; output parameters

* sum is now add
* added intend to have nicer output