added client and server examples