added comments to main file