search now working for all models