populate tree