added dataclass on voter