Geometry Nodes

When I distribute curves on top of a curve, how do I scale the radius of the child curves by the Curve Factor of the parent curve? So that for example when creating a tree, the radius of the root of the child branches is not wider than the parent branch at that given point along the curve? I tried capture attribute, but it does not seem to work.