added matrix prmis, but creating not fixed yet