add switch logic to shows/index