creating matrix output