move some commonly used searches into the model