the sql needs to change to not let similarity_SCore == 1000 in