Conditional WS Final added switch statement