add matrix text output