add guessnum and matrixRotate