foreach demo