old mapReduce example