switch to idiomatic array instantiation