added foreach helpers