update to code

added comments to code