initialize num_requests