added comments to entry insertion