Pretty sure the algorithm can't go back in time. So once it reads the line T=60 every mention of a minute before that goes null.
The events should be entered in order of appearance. I think