Use range based loop