Text this: The judge, discretion, and the criminal trial