Added t_end logging