Tree structure working I'm pretty sure.