renamed statement "gen" to "expand".