insert explicit for loop for non compatibility