checkpoint before adding generation step