added dynamic loading for search