removed unneeded server code