update for... to forEach