implementing basic benchmarking