selecting a suitable switch