more efficient array instantiation