added for each loop
functions intro