added Benchmarking code