initial integration of text editor