added switcher for adapters