Map reduce changes