probably do one `outputs = nb.worksheets[0]...` assignment and reuse it here.