The switch statement was incomplete