preliminary support for enum