added leaf dist