change the structure to matrix, tired, that's it