added ability to combine argsTo and resultTo calls