added a rich text support