Adding basic but fragile foreach capability