added benchmarks and example