how can switch statements be used in real life?