removed remove_tasks()