avoid allocation of new array by wrapping existing array