while loop to find contact is commented