changed int -> enumeration