added controls to show views