function contact_selector no longer in use commented out.