Use forEach to loop