Correctly made pdf this time