foreach loop
finished with header