def extract_subject_headings(doc)
    subject_headings = []
    (doc.search("biogSH")).each_with_index do |sh, i|
      subject_headings << sh.inner_text
      break if @num_of_subject_headings == i + 1