enumerations in units problem