changed names of t_new to tnew and t_old to told