The first thing you do when you design software is build sequence diagrams.