a demo for gencode by freemaker