the state of alabamas juvenile department was concerned about releasing a young genius smartass into the world without proper parental support , so they enlisted cody in the service of the us marshals office under the watchful eyeballs of rob mcdonald as a deputy-in-training .