Add -sum and -product functions