Initial trial server-client code