rework adding section to pdf