use named results
use genvarname to generate variable names