updated for pdf