enums are strange in Scala