add enum shorthand on switch statements