refactor example
refactor
add a benchmark