Uses of sequences of events include what?