Added inner product again