USING A WEIGHTED SEARCH