modified query for similar products