sequence of switches