This seems like a great place for a switch statement!