lots of cleaning to text and reformat