linking with PDF, removing unnessasary methods