implemented searchbox