make swithc private