added date to generated pdf