make array init example work