added leaf, and mathTree, and probably something else.