Write getBenchmark and change names to camelCase