changed get statistics value function call