part way through monitor.cc -- got to connection to server