added new logic
working but not disconnect