rewrote search method with find module, now uses regex