task_struct_traversal code added