updated member search method to be public method