added 'addToContacts;' function