add foreach example