modify array creation to account for different addrspace