added some c++11 for each