about to change to c++11 enums