removed unused code from server1.