start working with matrix