capturing the subscription of the text changes