added comments

added comments to explain the cascade code