leaf node todo