adding functionality to add contacts