added enhanced text editing