Adding a man to pdf function