added docs for sum and product