Setting Up Smart View