added changes to IndexedRDD