* Not finished version of pdf generator