basic communication with server is working