successfully parse matrices