Added Search Response Code functionality