implement search for previous contacts