getting switch list