added real-time filtering based on text input query