looks like u solved it
This comment is hidden because it contains spoiler information about the solution
Very true! Thanks for the note.
You don't need to convert your switch cases to explicit boolean values. You already have them.