for loop like construct for ajax pool added