working on getting correct segment to pass to extract_topics