Implemented outline for connection functionality