complete the extraction work