Added main task.