Adding Tree structure