what happens if the pdf is nil?