adapt one contract to new generation process