removed old server code