new datastructure for tasks