updated TextWriter for user set and get