added custom search, but it's broken