updated with array initializer