C++ standalone: implemented summed variables (but not well tested)