Made prefered vendor method faster