added mapreducesample