adding matinf