There is a logic, like any other assignment, but it may not be applied consistently, like any other assignmnet. Sometimes it involves punishing you for not helping them out somehow. I never helped them out unless it was going to get me home sooner, but I was always very, very polite and pleasant about it because they do have enough discretion to hurt you if you get on their blacklist.