Made XYZ immutable