Please change this to a switch statement so the compiler will produce a warning if we ever add another value to the enum without a corresponding case.