simplify document body creation