tweaking weighted search