setup structure elements rows