Use enumeration as its safer