added search functionality -- closes #26