setTranscript method