optimized for exporting pdf