Implemented switcher.