added search and search_all functionality to containers.