removed server code