added comments to program