more work on enum type.