added lab3-mat