correct array instantiation