renamed initialArray => array