use array.wrap rather than defensively checking for array