add all the linking between views