adding dist mmult