client-server interaction prototype