nit: switch