modifying link structure