Rearrange and add pdf