global scope enums
example updated