pseudocode for autonomus and loader code that runs on the xbox