Merged mat and mat2