Add code for dot product and add h3 titles