aded comments to main