generalFuncs and search.. trying to make serach work after load