improvements to enum field