now enums.of() accept also a string