Change search() and search_n() to use find()