added pdf stuff also in the header