add comments to examples.R
major update