driver.forEach method is added