change if to switch