Added comments to Main