adjusted benchmark script