changed model. added searching.