add comments to code1