pass the link as an argument.