Better style as switch.