Rename method regenerate