Optimized Search Funtionality