Connection functionality implemented