Added WAITING as a sub-task.