pdf generator added (in progress)