my_task_traversal method