map reduce assignment