matrixcontroller from old sample