restored Arrays substitGroup and

VectorElements instead of VectorElement