add comments to codegeneraiton