add copied client code to server side