use std::search instead of just search