merge wrapper into extract