advanced z_dataclass class