more progress with pdf upload