dll_matrix added