add example of dot-product usage