first part of channel leave