Implementing TextContext work