pass mainVC to detailVC as well