also deprecate generate