Added topology exchange code