mainbenchmark written