You should you a switch... case... here IMO.