updated interpreted ages. refactored basepdfwriter