working real-time search