add pdfmerger function and get multi page