added orientation switches testing primary & sec.