added rich text feature