My own clone of the Incursion code.