adds array_init and array_init_spec