maybe we should find another way of computing NTIMES
maybe we should find another way of computing NTIMES