client-server communication added