adding comments to main method