added for each loop to print phone nums