add comments to inner-product