initial support for switch orientation