Because myLevel is a Level-type variable, it can only hold a case of the enumeration.

In order to give myLevel a value, we use the name of the enumeration, followed by a dot and the case we want to assign.