trying jpgs instead of pdfs