ex4 - map-reduce indexes