update foreach
actually get it working

to the person who invented node streams I hope you get the help you need