New operator map partition function

we are using tabs instead of spaces.