change t mod ... to t + 1 mod ...