Condensed generation code