declare a task