why not a switch statement?