Yes, a switch statement is the way to go :)