typo, regenerate -> generate