Adding leaf discovery