extend enum to OR values with bitwise operation