added client and server code