how to make a selector switch