matrix works kind of