added functions for customer search