mapDistinct added