added table to the detailview