working on sigma-product