exported collapseTranscripts