alternate fns to mine fptree [ci skip]