removing client and server code