start cgen