changed to interpret String objects instead of Enums