updated contribution search method