how ado works?