put generate() methods into Render()