make search feature

Yes, I am going to move it to the model.