support collection of results, put example in the readme