array-structure preparation