Switch Server function added