Trying to make search functionality work.