typo
Generation algorithm