handshake finished. Got to refactor.