add search contional