extract fragments