Extraction Code Debug V1