working on pdf utils