sub array done