Text this: Shining a light on barrier function