RE: switch in proc