work on clientConnection