hub connection functionality