Search function working.