Hi Paul,
I think you have missed a break in the switch or a message to state fall through.

Alistair