Disconnect() function added