Got leaves and mini leaves added without branch logic