altered the logic in the search to only print once if no contact is found.