Case statement may be better - only have to do one evaluation, instead of 3 if statements?