exercise 11: Task queue