removed unused sever code