added disconnecting