finished draft of linking!