accept enums as strings