Added twr_subdet vector