for loop for contact information working