array init (unfinished)