Add task logic added.