Extraction logic implementation