separate forestDF from meta2DF.R and set it up as generic function