added comments to program.