added map reduce version-wip