extra pdf parsing stuff