debugging for enums