have a type task struct