added weighted responses based on similarity