Refactor - BenchMark function