added benchmarking functions to help debug