Migrate if to switch statement