rewrite and adding text