added documentation for searching