added comments to addchain