added mandatory functionality for add_contacts