document tweaking