added textWritter