adding views class