use enum, not const static int