numhits is not a global anymore