this should probably change to a string builder if its being reformatted