added comments to main method