Using range based for