added comments to end tags