XR functioned as the individual droid helper for Dr. Akary Smith. Nevertheless, General Koong seized it, altered its programming, equipped it with weaponry, and gave it the mission of apprehending Smith, Jann Tosh, C-3PO, and R2-D2. Even so, R2 was able to outwit the droid.