added ndt_sum