used different enum syntax