add foreach loop example