final pdf compile