dev
Finished PDF logic