added default value option to array nz function