updated Switch Code