Developing trees and data struct