working on disconnection