add: get matrix