[enh] adds extract utility