handled nested array