change mvc switch mechanism