redo of the code that runs LongShot