this should be `function(index, link) {`