working on the matrix question visualization