Search function development.