messing with getMatrices