the `@outport-style` can be moved out of the switch statement I think.