search now fully functional