Explaining how this works via sequence diagram.