added detailCtrl