method returns hashmap in RDD.scala
made class IndexRDD non private