add code searsh with alert