I have this habit of using switch for enumerated states, which also tends to make future changes smaller.