additional c++11 ranged loop work