adding the generated pdf