add comments to  codes