PDF almost finished