allow arbitrary parameters in sum generator