use enums to validate strings