Implementing the linking