converted from given when to switch to support my older servers