add code to retrieve bridges and channels