Implemented search feature.