as matrix