Added Connect and Disconnect