Implementing pdf code

Implementing pdf code