Added channels as receiver arguments and used assignment rather than subtraction in resetting xcopy