Need to determine how output-gathering functions return