Code committed after putting connecting to server.