second attempt at pdf