Connected all the links