task def