change to simple matrix
remove prints