started modifying PyPDFs for shift optimization