contacts - updating the function to take a string and return a string - instead of taking an element and updating a div