PDF is successfully being created, now to implement it