End of deal logic