new arry cannot be non-type