extract_package