How to figure out the sequence of the events while reading code?