refactor tire search into model