Infect: link management in function