created Task dataclass.