added basic server communication