what's the point of having a switch here id all the cases do the exact same thing?