add col-1 and col-2 to detail_function