shaping doc