adding better search example code