Added Nested Switch