added affiliates lookup