Added text out for matrix