I don't know how to introduce randomization to a switch