Check out sequence diagram.