matrix for output-directive added