added search (closes #22).