New task and use of matrix