@samuelfrench, sorry I missed this before, but this is not the right way to use a switch statement. Please refactor into if statements instead.