That was a silly place for a switch statement