Rewrited 1 part
-need to fix disconnection