add contact line to index