Would make sense to split CreateChannel in two functions and call them instead of calling CreateChannel? You could get rid of this comment (and the comment below) because the function name would explain what each part is doing.