set dimnames on output