new modifications for benchmarking between native and google api