Designing a computer experiment that involves switches