working on real time search

not finished