fixed t_end