replaced enums with string