try making matrix