working through connect to server