extract wrapper