map reduce module working