created function to add contact, view, and add to collection