map map foldr resolve brands