added example of enumerated type