wip on mapreduce integration