Text this: Discrete and Switching Functions