search fucntionality kind of done