adding views tree