Adjusted main method and checkpoint scenario to work together
Found a problem when running (some pointer seem to be invalid!)