got rid of unused variable n_requests