refactored donation search method