This calling sequence diagram is explained in the text.