using restart will now always restart from the correct generation